package cn.school.prevention.entity;


import cn.school.common.BaseVO;
import cn.school.common.utils.SysUserUtils;
import com.alibaba.excel.annotation.ExcelProperty;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
@TableName("t_prevention_feedback_detail")
public class FeedBack extends BaseVO {

    private static final long serialVersionUID = 5590074882325640451L;
    /**
     * 主键id
     */

    @TableId
    @ApiModelProperty(value = "id", hidden = false)
    private Long id;

    /**
     * 范围ID
     */
    @ExcelProperty("范围ID")
    @ApiModelProperty(value = "范围ID", required = false)
    private String scopeId;

    /**
     *班级ID
     */
    @ExcelProperty("班级ID")
    @ApiModelProperty(value = "班级ID", required = false)
    private String classId;

    /**
     * 学生ID
     */
    @ExcelProperty("学生ID")
    @ApiModelProperty(value = "学生ID", required = false)
    private String studentId;

    /**
     * 学生姓名
     */
    @ExcelProperty("学生姓名")
    @ApiModelProperty(value = "学生姓名", required = false)
    private String studentName;

    /**
     * 健康码图片
     */
    @ExcelProperty("健康码图片")
    @ApiModelProperty(value = "健康码图片", required = false)
    private String healthCodeImages;

    /**
     * 行程码图片
     */
    @ExcelProperty("行程码图片")
    @ApiModelProperty(value = "行程码图片", required = false)
    private String tripCodeImages;

    /**
     * 待反馈日期
     */
    @ExcelProperty("待反馈日期")
    @ApiModelProperty(value = "待反馈日期", required = false)
    private String todoFeedbackDate;

    /**
     * 实际反馈时间
     */
    @ExcelProperty("实际反馈时间")
    @ApiModelProperty(value = "实际反馈时间", required = false)
    private String feedbackTime;

    /**
     * 是否有效
     */
    @ExcelProperty("是否有效")
    @ApiModelProperty(value = "是否有效", required = false)
    private String status;

    @ApiModelProperty(value = "备注")
    private String remarks;

    @TableField(exist = false)
    private Integer pageNum;

    @TableField(exist = false)
    private Integer pageSize;

    @TableField(exist = false)
    private String name;

    @TableField(exist = false)
    private String guardianName;

    @TableField(exist = false)
    private String phone;

    @TableField(exist = false)
    private String relationOfGuardian;

    @TableField(exist = false)
    private String guardianPhoneNumber;
    
    /** 主表中的：防控标题 */
    @TableField(exist = false)
    private String title;
    /**
     * 默认租户为当前登录人的租户
     */
    private String tenantId = SysUserUtils.getSysUser().getTenantId();
}
